package com.example.cartmanage.cart

import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.blankj.utilcode.util.ToastUtils
import com.example.cartmanage.R
import com.example.cartmanage.databinding.ActivityEditParkBinding
import com.example.lib_base.mvvm.BaseActivity
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
@Route(path = "/cartmanage/EditParkActivity")
class EditParkActivity : BaseActivity<ActivityEditParkBinding,CartManageViewModel>() {

    @Autowired
    @JvmField
    var parkId : Int?=0
    override fun initView() {
        // 自动注入
        ARouter.getInstance().inject(this)

        binding.baiidumap.setOnClickListener {
            ARouter.getInstance().build("/cartmanage/MapActivity").navigation()
        }


    }

    override fun initData() {

    }
}